package com.atguigu.admin.exception;

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

/**
 * @author 杨林
 * @create 2023-08-31 9:29 星期四
 * description:
 */

@ResponseStatus(value = HttpStatus.FORBIDDEN,reason = "用户数量太多")     //响应一个状态码信息
public class UserToManyException extends RuntimeException {
    
    public UserToManyException(String message){
        super(message);
    }
    
}
